package chain;


/**
 * @author wcj
 * @Date 2021/7/10 0:26
 * @Version 1.0
 */
public class Client {

    public static void main(String[] args) {
        HeadMaster headMaster = new HeadMaster(null);
        President president = new President(headMaster);
        Teacher teacher = new Teacher(president);

        // 请求十五天
        Student wcj = new Student("wcj", 15);
        teacher.request(wcj);
    }
}

